package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.domain.DyClientAnchor;
import com.ruoyi.system.domain.bo.DyAnchorPhotoBo;
import com.ruoyi.system.domain.bo.DyClientBo;
import com.ruoyi.system.domain.bo.DyGoodsBo;
import com.ruoyi.system.domain.vo.*;
import com.ruoyi.system.domain.bo.DyClientAnchorBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 用户关联主播Service接口
 *
 * @author ruoyi
 * @date 2024-08-02
 */
public interface IDyClientAnchorService {

    /**
     * 查询用户关联主播
     */
    DyClientAnchorVo queryById(Long id);

    /**
     * 查询用户关联主播列表
     */
    TableDataInfo<DyClientAnchorVo> getClientAnchorList(DyClientAnchorBo bo, PageQuery pageQuery);

    /**
     * 查询用户关联主播列表
     */
    List<DyClientAnchorVo> queryList(DyClientAnchorBo bo);

    /**
     * 新增用户关联主播
     */
    Boolean insertByBo(DyClientAnchorBo bo);

    /**
     * 修改用户关联主播
     */
    Boolean updateByBo(DyClientAnchorBo bo);

    /**
     * 校验并批量删除用户关联主播信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TableDataInfo<DyAnchorPhotoDetailVo> getClientAnchorInfo(DyClientAnchorBo bo, PageQuery pageQuery);

    TableDataInfo<DyAnchorPhotoVo> getClientAnchorAlbumList(DyClientAnchorBo bo, PageQuery pageQuery);

    TableDataInfo<DyGoodsVo> getRecommendPage(DyGoodsBo bo, PageQuery pageQuery);

    TableDataInfo<DyAnchorPhotoVo> getNewPhotosPage(DyAnchorPhotoBo bo, PageQuery pageQuery);

    TableDataInfo<DyAnchorPhotoVo> getRecommendDetailPage(DyGoodsBo bo, PageQuery pageQuery);

}
